import request from '@/request/request'
// ---------------------企业基本信息---------------------
//查看机构详情
export function getEnterMsg(params) {
    return request({
        url: '/dev-api/system/company/detailsInfo',
        method: 'get',
        params
    })
}
//查看机构详情-过滤信息
export function getEnterMsgFilter(params) {
    return request({
        url: '/dev-api/system/company/detailsInfoCredit',
        method: 'get',
        params
    })
}
//更新信息
export function updateInfo(data) {
    return request({
        url: '/dev-api/system/company/updateSxxxInfo',
        method: 'post',
        data
    })
}
// 下载文件
export function downFile(params) {
	return request({
		url: '/dev-api/system/company/companyCreditInfo',
		method: 'get',
		params,
		responseType:'blob',
	})
}
//企业logo更换
export function changeComLogo(data) {
    return request({
        url: '/dev-api/system/company/editCompanyLogo',
        method: 'put',
        data
    })
}
//企业实名
export function companyRealName(data) {
    return request({
        url: '/dev-api/system/company/editCompanyLogo',
        method: 'put',
        data
    })
}
